<?php
/**
 * licenses : MIT
 * creatTime: 2020/5/20
 * author : weblinuxgame
 * filename: NewsIndexConfigurator.php
 */

namespace App\Models\EsIndexConfigurator;


use ScoutElastic\IndexConfigurator;

/**
 * Class NewsIndexConfigurator
 * @package App\Models\ElasticSearchConfigurator
 */
class NewsIndexConfigurator extends IndexConfigurator
{
    protected $name = 'qq_news';

    // You can specify any settings you want, for example, analyzers.
    protected $settings = [
        'analysis' => [
            'analyzer' => [
                'es_std' => [
                    'type' => 'standard',
                    'stopwords' => '_spanish_'
                ]
            ]
        ]
    ];

}
